package test.random;

/**
 * <p>
 * <p/>
 *
 * @author zhangchengwei1
 * @since 2024/7/24/周三 14:05
 */
public class RandomNum {
    public static void main(String[] args) {

        for (int i = 0; i < 100; i++) {
            int val=(int) (Math.random()*2 +1);
            System.out.println(val);
        }

    }
}
